package com.spvs.system.api;

import com.spvs.common.core.constant.ServiceNameConstants;
import com.spvs.system.api.domain.PurchaseCallBackAPI;
import com.spvs.system.api.domain.SpecificationBookAPI;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 技术规格书回调
 * @author QXW
 * @date 2024/6/24 9:13
 */
@FeignClient(contextId = "specificationBookService", value = ServiceNameConstants.SYSTEM_SERVICE)
public interface ISpecificationBookService {


    /**
     * 采购回调接口
     * @param specificationBookAPI 技术规格书回调参数
     * @return
     */
    @PostMapping("/book/back")
    public void callBack(@RequestBody SpecificationBookAPI specificationBookAPI);
}
